package com.ep.thirdPlatformProject.erp.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ep.thirdPlatformProject.erp.entity.budget.ErpBudgetMainEntity;
import com.ep.thirdPlatformProject.erp.entity.vo.ErpBudgetResultVo;
import com.github.yulichang.wrapper.MPJLambdaWrapper;


import java.util.List;


public interface ErpBudgetService extends IService<ErpBudgetMainEntity> {


    /**
     * 获取所有列表数据
     *
     * @return {@link List }<{@link ErpBudgetMainEntity }>
     */
    List<ErpBudgetResultVo> getAllListData(MPJLambdaWrapper<ErpBudgetMainEntity> queryWrapper);


    /**
     * 获取所有列表数据
     *
     * @param deptIds 部门id
     * @return {@link List }<{@link ErpBudgetResultVo }>
     */
    List<ErpBudgetResultVo> getAllListData(String[] deptIds);

    /**
     * 上传至erp并更改状态
     *
     * @return {@link String }
     */
    String postToErpAndChangeStatus(ErpBudgetResultVo vo);

}
